import java.util.Scanner;

public class PP0203{
  public static void main(String[] args) {

    double i=0;
    double j=0;
    double he;
    double cha;
    double ji;
    double shang;
    Scanner scan1 = new Scanner(System.in);
    Scanner scan2 = new Scanner(System.in);
    System.out.print("第一个数: ");
    i = scan1.nextDouble();
    System.out.print("第二个数: ");
    j = scan2.nextDouble();

    he = i+j;
    cha = i-j;
    ji = i*j;
    shang = i/j;

    System.out.println("\n和:" + he + "差:" + cha + "积" + ji + "商" + shang);
    }
}
